home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
vla
/
palrot
/
palrot.txt
< prev
Wrap
Text File
|
1993-03-06
|
854b
|
25 lines
─────────────────────────────────────────────────────────────────────────────
;
; TITLE: Palette rotate
;WRITTEN BY: DRAEDEN /VLA
; DATE: 03/07/93
;
; NOTES: None.
;
;ASSOCIATED FILES:
;
; PALROT.ASM => Source file
;
────────────────────────────────────────────────────────────────────────────
Well, here's a file that shows how a palette rotate could be done. The
advantage of this way is that it's just as easy to rotate both directions,
and it doesn't require any additional memory, like backup copies of the
palette or the such...
As for the snow... I don't get any when I'm running at 40mhz, but there is
snow when I'm at 15mhz. A good solution is to not have anything on the upper
part of the screen that has its colors cycling.
Hitting the space bar will toggle the direction of the rotate.